/**
 * doc https://market.aliyun.com/apimarket/detail/cmapi026109?spm=5176.730005.result.2.bb6c123erw0mPS
 */
import axios from "axios"
export default (idcard: string, name: string, appCode: string) => {
    const url = "https://eid.shumaidata.com/eid/check"
    return axios.post(url, {
        idcard,
        name
    }, {
        headers: {
            Authorization: `APPCODE ${appCode}`
        }
    }).then(res => res.data)
}
